package com.atguigu.gulimall.ware.service;

import com.atguigu.common.utils.PageUtils;
import com.atguigu.gulimall.ware.entity.PurchaseDetailEntity;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

public interface PurchaseDetailService extends IService<PurchaseDetailEntity> {
    /**
     * 商品库存（可根据skuId、wareId查找）
     */
    PageUtils queryPage(Map<String, Object> params);

    List<PurchaseDetailEntity> listDeatailByPurchaseId(Long id);
}
